//
//  LoginRequest.h
//  BrushFace
//
//  Created by Zzz on 15/11/29.
//  Copyright © 2015年 Zzz. All rights reserved.
//


#import "BaseRequest.h"
// 看链接情况,进行分装
@interface LoginRequest : BaseRequest
@property (nonatomic, copy) NSString * version;
@property (nonatomic, copy) NSString * key;
@property (nonatomic, copy) NSString * timeMillis;
@property (nonatomic, copy) NSString * code;
@property (nonatomic, copy) NSString * imie;
@property (nonatomic, copy) NSString * loginKey;
@property (nonatomic, copy) NSString * loginToken;
@property (nonatomic, copy) NSString * tcode;
/**
 version - APP版本
 key - 版本对应的密钥
 timeMillis - 请求时的毫秒数，使用System.currentTimeMillis()获取
 */
+ (LoginRequest *)createTokenForAppLoginRq;
/**
 code - 调用微信API获取
 imie - 用于标识唯一id
 tcode - 用于表示来源
 */
+ (LoginRequest *)createLoginByCodeRq;
/**
 loginKey - 之前的登录返回的值
 loginToken - 调用getTokenForAppLogin接口获取的token值
 imie - 设备的编号
 */
+ (LoginRequest *)createLoginByLoginKeyRq;
@end